import { request } from '@/utils'
function getInfoApi() {
  return new Promise((resolve, reject) => {
    request({
      url: 'nt/getInfo',
      method: 'GET',
    }).then((res: any) => {
      if (res.data.code === 0) {
        resolve(res.data.data)
      } else {
        reject(res.data)
      }
    })
  })
}
export default {
  getInfoApi,
}
